{include file = 'header.tpl'}
<div id="createDoc">
	<form id="example" name="example" method="post" action="index.php?doc-create-{$docid}" onsubmit="return check();" >
		标题:<select id="selType" name="selType">
			<option selected="selected"  value="0">请选择</option>
			<option  value="1">原创</option>
			<option  value="2">转载</option>
			<option  value="3">翻译</option>
		</select>
		<input name="title" type="text" id="title" value="" size="80" />
		<br /><br />
		<textarea id="content" name="content" style="width:700px;height:450px;visibility:hidden;"></textarea>
		<br />
		<ul>
			<li class="yzm">
				<span>验证码: </span>
				<input id="code1" name="code1" type="text" />
				<label class="m-lr8"><img id="verifycode" src="index.php?user-code" onclick="updateverifycode();" /></label>
				<a href="javascript:updateverifycode();">换一个</a>
			</li>
		</ul>
		<br />
		<input id="publishsubmit" type="submit" name="publishsubmit" value="提交" /> <!-- onclick="javascript:check();" --> 
	</form>
</div>
{include file = 'footer.tpl'}
<script language="javascript">
{literal}
function updateverifycode() {
	var img = "index.php?user-code-"+Math.random();
	$('#verifycode').attr("src",img);
}
{/literal}
var g_filterExternal = 1;
var g_page_action = "edit";
var g_logout_editor = "index.php?doc-unseteditlock-{$docid}-edit";
var g_docid = "{$docid}";
var savetime=60000;
var g_content_md5='';

var g_img_big="300";
var g_img_small="140";
var jqe_static_url = './js/jqeditor';
</script>
<script type="text/javascript" src="js/jqeditor/FTforum.js"></script>
